<?php
class Sb_Ctrl_Admin_Tests extends Sb_Ctrl_Admin_Base
{
    protected function preDispatch()
    {
        parent::preDispatch();
        $this->_view->contentTitle = 'Manage Tests';
        $this->_view->pageTitle .= ' Tests';
    }

    public function indexAction()
    {
        $_modelCategories = new Sb_Model_Categories();
        $this->_view->categories = $_modelCategories->featchAll();

        $_modelTests = new Sb_Model_Tests();
        $this->_view->tests = $_modelTests->featchAll();
    }
}